package com.yc.example.controller;

import com.yc.example.bean.Msg;
import com.yc.example.service.UserService;

public class UserController {

	private UserService userService = new UserService();
	
	
	/**
	 * 用户登录
	 * @param userName
	 * @param password
	 * @return
	 */
	public Msg login(String userName,String password){
		return userService.login(userName, password);
	}
}
